set source = "<HTML><BODY><P><B>Error opening file:</B><BR>"&file&"<BR><A HREF=" "e&"index.htm" "e&">return to Table of contents.</A></P></BODY></HTML>"
else
-- read in the file
set source = readfile( myfile )
-- error handling
if (status(myfile)) then
alert "Error while reading from file:"&return&file